package com.yuyuan.dao;

import java.util.List;

import com.yuyuan.domain.Category;
import com.yuyuan.domain.Plant;

public interface PlantMapper {
	
	List<Plant> list(Plant plant);
	
	List<Category> getCategorys();
	
	int add(Plant plant);
	
	
	Plant get(Integer id);
	int update(Plant plant);
	
	int deleteBatch(Integer[] ids);
	
}
